package com.wang.mandkey.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.wang.mandkey.R;
import com.wang.mandkey.tool.GlobalTool;

public class MouseSelectedActivity extends BaseActivity {

	private Button mButtonMouseScreen;
	private Button mButtonMouse;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		initView();
	}

	@Override
	public void onBackPressed() {
		super.onBackPressed();
		finish();
		return;
	}

	private void initView() {
		setContentView(R.layout.mouse_selected);
		mButtonMouseScreen = (Button) findViewById(R.id.buttonScreenMouse);
		mButtonMouse = (Button) findViewById(R.id.buttonMouse);
		mButtonMouseScreen.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				GlobalTool.startOtherActivity(MouseSelectedActivity.this,
						PureMouseActivity.class);
			}
		});
		mButtonMouse.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				GlobalTool.startOtherActivity(MouseSelectedActivity.this,
						MouseActivity.class);
			}
		});
	}
}
